package cn.daniellee.plugin.wc.storage;

import cn.daniellee.plugin.wc.model.PlayerData;

import java.sql.Connection;
import java.util.HashMap;
import java.util.Map;

public abstract class Storage {

	public abstract boolean initialize();

	public abstract Connection getConnection();

	public abstract PlayerData getPlayerDataByName(String name);

	public abstract void addPlayerData(PlayerData playerData);

	public abstract boolean checkWelcomed(String welcomee, String welcomer);

	public abstract void addWelcomed(String welcomee, String welcomer);

	public abstract void close();

}
